home *** CD-ROM | disk | FTP | other *** search
- /**********************************************************************
- *
- * autolaunch globals.c -- Version 3.0
- *
- * Copyright (c)
- * Apple Computer, Inc. 1988-1990
- * All Rights Reserved.
- *
- * Written by Eric Soldan.
- *
- * Developer Technical Support Apple II Sample Code
- *
- * This file contains the code which initializes autolaunch global data.
- *
- **********************************************************************/
-
- #include <font.h>
- #include <resources.h>
- #include <window.h>
-
- #define __globals__ 1 /* So autolaunch.h knows what to do. */
- #include "autolaunch.h"
-
- void initLaunchData();
-
- /**********************************************************************/
-
- void initGlobals()
- {
- quitFlag = 0; /* doMenuCommand will set it true. */
-
- mainWindow = NULL;
- aboutWindow = NULL;
-
- initLaunchData();
- }
-
- /**********************************************************************/
-
- void initLaunchData()
- {
- unsigned int i;
-
- for (i = 0; i < sizeof(launch); i++) ((char *)&launch)[i] = 0;
- launch.timer = 1;
- }
-